package com.example.kuaizu.service;

import com.example.kuaizu.pojo.PageBean;
import com.example.kuaizu.pojo.PromotionInfoIdsParam;
import com.example.kuaizu.pojo.dto.UserEmailDao;
import com.example.kuaizu.pojo.ov.HouProjectOv;
import com.example.kuaizu.pojo.ov.PromotionArrayObjectOv;
import com.example.kuaizu.pojo.pram.PromotionMajorPram;
import com.example.kuaizu.pojo.pram.PromotionSchoolPram;
import kuaizu.common.param.PromotionInfoParam;

import javax.mail.MessagingException;
import java.util.Set;

public interface InEmailPromotionService {
    //邮件推广方法
    void sendEmail(PromotionArrayObjectOv promotionArrayObjectsOv) throws MessagingException;

    Set<UserEmailDao> majorbyproject(Integer id);
    //查看推广详情
    PageBean<HouProjectOv> getPromotionInfo(PromotionInfoParam req);

    PageBean<HouProjectOv> getPromotionInfoByIds(PromotionInfoIdsParam req);

    void sendEmailBySchoolList(PromotionSchoolPram pram);
    void sendEmailByMajorList(PromotionMajorPram pram);
}
